import { Constant } from '@/utils'

export const defaultURL = Constant.IS_DEV ? Constant.DEV_MOCK : process.env.VUE_APP_URL
export const baseURL = '/gqjcManage'

export const LoginUrl = baseURL + '/sys/login'
// 菜单
export const menuListUrl = baseURL + '/sys/menu/list'
export const menuCreateUrl = baseURL + '/sys/menu/save'
export const menuUpdateUrl = baseURL + '/sys/menu/update'
export const menuDeleteUrl = baseURL + '/sys/menu/delete'
export const menuNavUrl = baseURL + '/sys/menu/nav'

// 角色
export const roleListUrl = baseURL + '/sys/role/list'
export const roleInfoUrl = baseURL + '/sys/role/info'
export const roleCreateUrl = baseURL + '/sys/role/save'
export const roleUpdateUrl = baseURL + '/sys/role/update'
export const roleDeleteUrl = baseURL + '/sys/role/delete'

// 项目
export const myProjectsUrl = baseURL + '/auth/projects'
